<?php

use think\facade\Route;


Route::group('admin', function () {
    //添加活动
    Route::any('AdminActive/activeAdd', 'AdminActive/activeAdd');
    //编辑|回显活动
    Route::any('AdminActive/activeUpdate', 'AdminActive/activeUpdate');
    //活动列表
    Route::any('AdminActive/activeList', 'AdminActive/activeList');
    //删除活动
    Route::any('AdminActive/activeDel', 'AdminActive/activeDel');
    //结束活动
    Route::any('AdminActive/overTime', 'AdminActive/overTime');
    //领取记录
    Route::any('AdminCoupon/couponList', 'AdminCoupon/couponList');
    //领券数据
    Route::any('AdminCoupon/logList', 'AdminCoupon/logList');
    //记录详情
    Route::any('AdminCoupon/userCouponList', 'AdminCoupon/userCouponList');
    //带客有礼的图
    Route::any('AdminActive/defaultSetting', 'AdminActive/defaultSetting');


});

Route::group('app', function () {
    //添加活动
    Route::any('IndexCoupon/userCouponList', 'IndexCoupon/userCouponList');
    //编辑|回显活动
    Route::any('IndexActive/activeInfo', 'IndexActive/activeInfo');
    //员工端活动列表
    Route::any('IndexActive/staffActiveList', 'IndexActive/staffActiveList');
    //用户优惠券详情
    Route::any('IndexCoupon/userCouponInfo', 'IndexCoupon/userCouponInfo');
    //删除活动
    Route::any('IndexCoupon/getUserCoupon', 'IndexCoupon/getUserCoupon');
    //正在进行中的活动
    Route::any('IndexActive/getActiveIng', 'IndexActive/getActiveIng');
    //员工端活动详情
    Route::any('IndexActive/staffActiveInfo', 'IndexActive/staffActiveInfo');
    //员工端端分享领取记录
    Route::any('IndexCoupon/staffShareRecord', 'IndexCoupon/staffShareRecord');
    //用户详情
    Route::any('IndexCoupon/staffUserInfo', 'IndexCoupon/staffUserInfo');
    //核销
    Route::any('IndexCoupon/hxCoupon', 'IndexCoupon/hxCoupon');
    //分享日志
    Route::any('IndexCoupon/shareLog', 'IndexCoupon/shareLog');
    //核销券详情
    Route::any('IndexCoupon/hxCouponInfo', 'IndexCoupon/hxCouponInfo');
    //生产二维码
    Route::any('IndexCoupon/getQr', 'IndexCoupon/getQr');





});

















